package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class GoodsGroupBuying implements Serializable {
    private Integer id;

    private String title;

    private String photo;

    private String hidePhotos;

    private String videoUrl;

    private Integer goodsId;

    private Date startTime;

    private Date endTime;

    private Integer status;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public GoodsGroupBuying(Integer id, String title, String photo, String hidePhotos, String videoUrl, Integer goodsId, Date startTime, Date endTime, Integer status, Date createTime, Date updateTime) {
        this.id = id;
        this.title = title;
        this.photo = photo;
        this.hidePhotos = hidePhotos;
        this.videoUrl = videoUrl;
        this.goodsId = goodsId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public GoodsGroupBuying() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo == null ? null : photo.trim();
    }

    public String getHidePhotos() {
        return hidePhotos;
    }

    public void setHidePhotos(String hidePhotos) {
        this.hidePhotos = hidePhotos == null ? null : hidePhotos.trim();
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl == null ? null : videoUrl.trim();
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}